package com.wanmait.recruit.service;

import com.github.pagehelper.PageInfo;
import com.wanmait.recruit.pojo.Person;

import java.util.ArrayList;

public interface PersonService extends CommonService<Person> {
    Person checkEmailByCode(String code);
    Person checkPersonName(String personName);
    Person checkEmail(String email);

    //利用传过来的用户名密码判断是否注册
    boolean isPersonRegister(String personName,String password);
    //获得person个人信息
    Person isPersonRegisterData(String personName,String password);
    //通过用户名判断其是否登录
    Person findByPersonName(String personName);
    void  updatePersonInfo(Person person);
    void updatePersonPic(Person paramPerson);
    void updatePersonNameAndPassword(Person person);
    boolean selectIsPersonExistence(String personName);


    PageInfo<Person> findAll();

}
